<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>ghToolkit: Referencia de la Clase ghToolkit::entity2D</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generado por Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Página&nbsp;principal</span></a></li>
      <li class="current"><a href="annotated.html"><span>Estructuras&nbsp;de&nbsp;Datos</span></a></li>
      <li><a href="files.html"><span>Archivos</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Buscar" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Estructura&nbsp;de&nbsp;datos</span></a></li>
      <li><a href="functions.html"><span>Campos&nbsp;de&nbsp;datos</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="classgh_toolkit.html">ghToolkit</a>::<a class="el" href="classgh_toolkit_1_1entity2_d.html">entity2D</a>
  </div>
</div>
<div class="contents">
<h1>Referencia de la Clase ghToolkit::entity2D</h1><!-- doxytag: class="ghToolkit::entity2D" -->
<p>Capa que maneja los metodos de las entidades.  
<a href="#_details">Más...</a></p>

<p><code>#include &lt;<a class="el" href="gh_toolkit_8h_source.html">ghToolkit.h</a>&gt;</code></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Métodos públicos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgh_toolkit_1_1entity2_d.html#ac128cad4cd0c3a93a3cc7db2c93bddd5">load</a> (Uint32 ui32chimage)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Devuelve la posicion del joypad.  <a href="#ac128cad4cd0c3a93a3cc7db2c93bddd5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgh_toolkit_1_1entity2_d.html#a2a3e7ce8405718ab84f286cc05a5af26">draw</a> (Uint16 ui16X, Uint16 ui16Y)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Dibuja la entidad en la pantalla.  <a href="#a2a3e7ce8405718ab84f286cc05a5af26"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgh_toolkit_1_1entity2_d.html#a4693351c26783aef2a0cc8d8a56b55ea">scale</a> (Uint16 ui16scale)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Define la escala de la entidad. Los valores son de 0 a 100.  <a href="#a4693351c26783aef2a0cc8d8a56b55ea"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgh_toolkit_1_1entity2_d.html#ad26a1a904325489a8f2a53809276c1e1">angle</a> (Uint16 ui16angle)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Define el angulo de la entidad. Los valores son de 0 a 360.  <a href="#ad26a1a904325489a8f2a53809276c1e1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgh_toolkit_1_1entity2_d.html#ad19154c4c5c5b9083255b7aab45d7966">alpha</a> (Uint16 ui16alpha)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Define la opacidad de la entidad. Los valores son de 0 a 100.  <a href="#ad19154c4c5c5b9083255b7aab45d7966"></a><br/></td></tr>
<tr><td colspan="2"><h2>Campos de datos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Uint16&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgh_toolkit_1_1entity2_d.html#a7e1c99be341971c289addd83f7519dc9">x</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Uint16&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgh_toolkit_1_1entity2_d.html#af3607a86c120d1ee22829bfdf6c99599">y</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Uint16&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgh_toolkit_1_1entity2_d.html#ae18c24a1e3392a54c17b6032889d8721">w</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Uint16&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgh_toolkit_1_1entity2_d.html#a11eb9db3910763570645c8020762c662">h</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Descripción detallada</h2>
<p>Capa que maneja los metodos de las entidades. </p>
<hr/><h2>Documentación de las funciones miembro</h2>
<a class="anchor" id="ad19154c4c5c5b9083255b7aab45d7966"></a><!-- doxytag: member="ghToolkit::entity2D::alpha" ref="ad19154c4c5c5b9083255b7aab45d7966" args="(Uint16 ui16alpha)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ghToolkit::entity2D::alpha </td>
          <td>(</td>
          <td class="paramtype">Uint16&nbsp;</td>
          <td class="paramname"> <em>ui16alpha</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Define la opacidad de la entidad. Los valores son de 0 a 100. </p>

</div>
</div>
<a class="anchor" id="ad26a1a904325489a8f2a53809276c1e1"></a><!-- doxytag: member="ghToolkit::entity2D::angle" ref="ad26a1a904325489a8f2a53809276c1e1" args="(Uint16 ui16angle)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ghToolkit::entity2D::angle </td>
          <td>(</td>
          <td class="paramtype">Uint16&nbsp;</td>
          <td class="paramname"> <em>ui16angle</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Define el angulo de la entidad. Los valores son de 0 a 360. </p>

</div>
</div>
<a class="anchor" id="a2a3e7ce8405718ab84f286cc05a5af26"></a><!-- doxytag: member="ghToolkit::entity2D::draw" ref="a2a3e7ce8405718ab84f286cc05a5af26" args="(Uint16 ui16X, Uint16 ui16Y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ghToolkit::entity2D::draw </td>
          <td>(</td>
          <td class="paramtype">Uint16&nbsp;</td>
          <td class="paramname"> <em>ui16X</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint16&nbsp;</td>
          <td class="paramname"> <em>ui16Y</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Dibuja la entidad en la pantalla. </p>

</div>
</div>
<a class="anchor" id="ac128cad4cd0c3a93a3cc7db2c93bddd5"></a><!-- doxytag: member="ghToolkit::entity2D::load" ref="ac128cad4cd0c3a93a3cc7db2c93bddd5" args="(Uint32 ui32chimage)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ghToolkit::entity2D::load </td>
          <td>(</td>
          <td class="paramtype">Uint32&nbsp;</td>
          <td class="paramname"> <em>ui32chimage</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Devuelve la posicion del joypad. </p>

</div>
</div>
<a class="anchor" id="a4693351c26783aef2a0cc8d8a56b55ea"></a><!-- doxytag: member="ghToolkit::entity2D::scale" ref="a4693351c26783aef2a0cc8d8a56b55ea" args="(Uint16 ui16scale)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ghToolkit::entity2D::scale </td>
          <td>(</td>
          <td class="paramtype">Uint16&nbsp;</td>
          <td class="paramname"> <em>ui16scale</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Define la escala de la entidad. Los valores son de 0 a 100. </p>

</div>
</div>
<hr/><h2>Documentación de los campos</h2>
<a class="anchor" id="a11eb9db3910763570645c8020762c662"></a><!-- doxytag: member="ghToolkit::entity2D::h" ref="a11eb9db3910763570645c8020762c662" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Uint16 <a class="el" href="classgh_toolkit_1_1entity2_d.html#a11eb9db3910763570645c8020762c662">ghToolkit::entity2D::h</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae18c24a1e3392a54c17b6032889d8721"></a><!-- doxytag: member="ghToolkit::entity2D::w" ref="ae18c24a1e3392a54c17b6032889d8721" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Uint16 <a class="el" href="classgh_toolkit_1_1entity2_d.html#ae18c24a1e3392a54c17b6032889d8721">ghToolkit::entity2D::w</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a7e1c99be341971c289addd83f7519dc9"></a><!-- doxytag: member="ghToolkit::entity2D::x" ref="a7e1c99be341971c289addd83f7519dc9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Uint16 <a class="el" href="classgh_toolkit_1_1entity2_d.html#a7e1c99be341971c289addd83f7519dc9">ghToolkit::entity2D::x</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af3607a86c120d1ee22829bfdf6c99599"></a><!-- doxytag: member="ghToolkit::entity2D::y" ref="af3607a86c120d1ee22829bfdf6c99599" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Uint16 <a class="el" href="classgh_toolkit_1_1entity2_d.html#af3607a86c120d1ee22829bfdf6c99599">ghToolkit::entity2D::y</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>La documentación para esta clase fue generada a partir de los siguientes ficheros:<ul>
<li>/home/david/programacion/ghToolkit/src/<a class="el" href="gh_toolkit_8h_source.html">ghToolkit.h</a></li>
<li>/home/david/programacion/ghToolkit/src/<a class="el" href="gh_toolkit_8cpp.html">ghToolkit.cpp</a></li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>Todo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Estructuras de Datos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Archivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Funciones</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Definiciones</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Generado el Sun Oct 31 18:35:28 2010 para ghToolkit por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
